projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fbafb9
)
Format string warnings for more functions (bug#71379)
author
Mattias Engdegård
<mattiase@acm.org>
Wed, 5 Jun 2024 16:28:59 +0000
(18:28 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Thu, 6 Jun 2024 08:10:16 +0000
(10:10 +0200)
* lisp/emacs-lisp/bytecomp.el (byte-compile-format-like):
Add message-box, message-or-box, warn and user-error.
lisp/emacs-lisp/bytecomp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/bytecomp.el
b/lisp/emacs-lisp/bytecomp.el
index 03cfbe6f4c91cc0d5efb20b66b24095ac976fced..d59e89bd7dede93c5fd14342a55dfe77e12c99fc 100644
(file)
--- a/
lisp/emacs-lisp/bytecomp.el
+++ b/
lisp/emacs-lisp/bytecomp.el
@@
-1643,7
+1643,8
@@
extra args."
nargs (if (= nargs 1) "" "s")
nfields (if (= nfields 1) "" "s"))))))
-(dolist (elt '(format message format-message error))
+(dolist (elt '( format message format-message message-box message-or-box
+ warn error user-error))
(put elt 'byte-compile-format-like t))
;; Warn if the function or macro is being redefined with a different